import React from "react";
import WealthManagement from '@/views/wealth-management'
import Market from '@/views/market'

const routes: Record<string, React.ReactNode> = {
  "/": <WealthManagement></WealthManagement>,
  "/market": <Market></Market>
};

export const resolveRoute = (path: string) => {
  return routes[path] || 404;
};
